package com.ecoolex.discount.sales.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.discount.sales.core.mapper.DiscountBrandMapper;
import com.ecoolex.discount.sales.entity.DiscountBrandWithBLOBs;
import com.ecoolex.discount.sales.pojo.QueryDiscountBrandDTO;
import com.ecoolex.discount.sales.pojo.QueryMarketingClassifyBrandDTO;
import com.ecoolex.framework.common.pojo.Page;

public interface DiscountBrandDAO extends DiscountBrandMapper {
	
	long count(@Param("query")QueryDiscountBrandDTO query);
	
	List<DiscountBrandWithBLOBs> query(@Param("query")QueryDiscountBrandDTO query, @Param("sorts") String sorts , @Param("page") Page page);

	List<DiscountBrandWithBLOBs> listForH5(@Param("query") QueryMarketingClassifyBrandDTO query,@Param("status") Integer status,@Param("size") Integer size);
}